package com.weirdor.wxchat.module.entity;

import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 关注用户
 * </p>
 *
 * @author weirdor
 * @since 2017-12-01
 */
@TableName("qywx_gzuserinfo")
public class QywxGzuserinfo extends Model<QywxGzuserinfo> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
	private String id;
    /**
     * 账号
     */
	private String userid;
    /**
     * 姓名
     */
	private String name;
    /**
     * 部门
     */
	private String department;
    /**
     * 职位
     */
	private String position;
    /**
     * 电话
     */
	private String mobile;
    /**
     * 省份
     */
	private String province;
    /**
     * 性别gender=1表示男，=0表示女
     */
	private String gender;
    /**
     * 邮箱
     */
	private String email;
    /**
     * 微信号
     */
	private String weixinid;
    /**
     * 头像url
     */
	private String avatar;
    /**
     * 关注状态: 1=已关注，2=已冻结，4=未关注
     */
	@TableField("subscribe_status")
	private String subscribeStatus;
    /**
     * 关注时间
     */
	@TableField("subscribe_time")
	private Date subscribeTime;
    /**
     * 微信账号ID
     */
	private String accountid;
    /**
     * 创建人名称
     */
	@TableField("create_name")
	private String createName;
    /**
     * 创建人登录名称
     */
	@TableField("create_by")
	private String createBy;
    /**
     * 创建日期
     */
	@TableField("create_date")
	private Date createDate;
    /**
     * 更新人名称
     */
	@TableField("update_name")
	private String updateName;
    /**
     * 更新人登录名称
     */
	@TableField("update_by")
	private String updateBy;
    /**
     * 更新日期
     */
	@TableField("update_date")
	private Date updateDate;


	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getUserid() {
		return userid;
	}

	public void setUserid(String userid) {
		this.userid = userid;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDepartment() {
		return department;
	}

	public void setDepartment(String department) {
		this.department = department;
	}

	public String getPosition() {
		return position;
	}

	public void setPosition(String position) {
		this.position = position;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public String getProvince() {
		return province;
	}

	public void setProvince(String province) {
		this.province = province;
	}

	public String getGender() {
		return gender;
	}

	public void setGender(String gender) {
		this.gender = gender;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getWeixinid() {
		return weixinid;
	}

	public void setWeixinid(String weixinid) {
		this.weixinid = weixinid;
	}

	public String getAvatar() {
		return avatar;
	}

	public void setAvatar(String avatar) {
		this.avatar = avatar;
	}

	public String getSubscribeStatus() {
		return subscribeStatus;
	}

	public void setSubscribeStatus(String subscribeStatus) {
		this.subscribeStatus = subscribeStatus;
	}

	public Date getSubscribeTime() {
		return subscribeTime;
	}

	public void setSubscribeTime(Date subscribeTime) {
		this.subscribeTime = subscribeTime;
	}

	public String getAccountid() {
		return accountid;
	}

	public void setAccountid(String accountid) {
		this.accountid = accountid;
	}

	public String getCreateName() {
		return createName;
	}

	public void setCreateName(String createName) {
		this.createName = createName;
	}

	public String getCreateBy() {
		return createBy;
	}

	public void setCreateBy(String createBy) {
		this.createBy = createBy;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public String getUpdateName() {
		return updateName;
	}

	public void setUpdateName(String updateName) {
		this.updateName = updateName;
	}

	public String getUpdateBy() {
		return updateBy;
	}

	public void setUpdateBy(String updateBy) {
		this.updateBy = updateBy;
	}

	public Date getUpdateDate() {
		return updateDate;
	}

	public void setUpdateDate(Date updateDate) {
		this.updateDate = updateDate;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "QywxGzuserinfo{" +
			"id=" + id +
			", userid=" + userid +
			", name=" + name +
			", department=" + department +
			", position=" + position +
			", mobile=" + mobile +
			", province=" + province +
			", gender=" + gender +
			", email=" + email +
			", weixinid=" + weixinid +
			", avatar=" + avatar +
			", subscribeStatus=" + subscribeStatus +
			", subscribeTime=" + subscribeTime +
			", accountid=" + accountid +
			", createName=" + createName +
			", createBy=" + createBy +
			", createDate=" + createDate +
			", updateName=" + updateName +
			", updateBy=" + updateBy +
			", updateDate=" + updateDate +
			"}";
	}
}
